<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MiXiM: SimplePathlossConstMapping Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MiXiM
   &#160;<span id="projectnumber">2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00198.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">SimplePathlossConstMapping Class Reference<div class="ingroups"><a class="el" href="a00511.html">analogueModels - AnalogueModel implementations</a> &#124; <a class="el" href="a00519.html">mapping - classes representing mathematical mappings</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SimplePathlossConstMapping" --><!-- doxytag: inherits="SimpleConstMapping" -->
<p><a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> that represents a Pathloss-function.  
 <a href="a00198.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00404_source.html">SimplePathlossModel.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for SimplePathlossConstMapping:</div>
<div class="dyncontent">
<div class="center"><img src="a01012.png" border="0" usemap="#SimplePathlossConstMapping_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for SimplePathlossConstMapping:</div>
<div class="dyncontent">
<div class="center"><img src="a01013.png" border="0" usemap="#SimplePathlossConstMapping_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a01014.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05ca5384df78435f54d6126651daaaa4"></a><!-- doxytag: member="SimplePathlossConstMapping::SimplePathlossConstMapping" ref="a05ca5384df78435f54d6126651daaaa4" args="(const DimensionSet &amp;dimensions, SimplePathlossModel *model, const double distFactor)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#a05ca5384df78435f54d6126651daaaa4">SimplePathlossConstMapping</a> (const <a class="el" href="a00086.html">DimensionSet</a> &amp;<a class="el" href="a00058.html#a009539b72014b7bed96402a5c244fca5">dimensions</a>, <a class="el" href="a00199.html">SimplePathlossModel</a> *<a class="el" href="a00198.html#acd7441a6db213de39f2286e7e91110b6">model</a>, const double <a class="el" href="a00198.html#a5256f04ca6630c73e38c611472d330a7">distFactor</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">initializes the PathlossMapping for the passed dimensions, its model and the distance factor for the signal to attenuate. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af552700dd0f80cebaefa5261af6f5629"></a><!-- doxytag: member="SimplePathlossConstMapping::SimplePathlossConstMapping" ref="af552700dd0f80cebaefa5261af6f5629" args="(const SimplePathlossConstMapping &amp;)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#af552700dd0f80cebaefa5261af6f5629">SimplePathlossConstMapping</a> (const <a class="el" href="a00198.html">SimplePathlossConstMapping</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa263547a6e528cc1acf88fc496510e40"></a><!-- doxytag: member="SimplePathlossConstMapping::getValue" ref="aa263547a6e528cc1acf88fc496510e40" args="(const Argument &amp;pos) const " -->
virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#aa263547a6e528cc1acf88fc496510e40">getValue</a> (const <a class="el" href="a00013.html">Argument</a> &amp;pos) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates attenuation from the distance factor and the current positions frequency (or the models carrier frequency if we are using using signals without frequency domain. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07a068298d3682405c07849bbcafac3e"></a><!-- doxytag: member="SimplePathlossConstMapping::constClone" ref="a07a068298d3682405c07849bbcafac3e" args="() const " -->
<a class="el" href="a00058.html">ConstMapping</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#a07a068298d3682405c07849bbcafac3e">constClone</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">creates a clone of this mapping. This method has to be implemented by every subclass. But most time the implementation will look like the implementation of this method (except of the class name). <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5256f04ca6630c73e38c611472d330a7"></a><!-- doxytag: member="SimplePathlossConstMapping::distFactor" ref="a5256f04ca6630c73e38c611472d330a7" args="" -->
const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#a5256f04ca6630c73e38c611472d330a7">distFactor</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The factor dependent on the distance of the transmission. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd7441a6db213de39f2286e7e91110b6"></a><!-- doxytag: member="SimplePathlossConstMapping::model" ref="acd7441a6db213de39f2286e7e91110b6" args="" -->
<a class="el" href="a00199.html">SimplePathlossModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#acd7441a6db213de39f2286e7e91110b6">model</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to the model. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4da6a90c9477ea1de2eccfd9ae95e55"></a><!-- doxytag: member="SimplePathlossConstMapping::hasFrequency" ref="af4da6a90c9477ea1de2eccfd9ae95e55" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#af4da6a90c9477ea1de2eccfd9ae95e55">hasFrequency</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the <a class="el" href="a00192.html" title="The signal class stores the physical representation of the signal of an AirFrame.">Signal</a> to attenuate defined over frequency? <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb159877fc366918d7ae593aaa3bc3fe"></a><!-- doxytag: member="SimplePathlossConstMapping::operator=" ref="afb159877fc366918d7ae593aaa3bc3fe" args="(const SimplePathlossConstMapping &amp;)" -->
<a class="el" href="a00198.html">SimplePathlossConstMapping</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00198.html#afb159877fc366918d7ae593aaa3bc3fe">operator=</a> (const <a class="el" href="a00198.html">SimplePathlossConstMapping</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator is not allowed. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> that represents a Pathloss-function. </p>
<p><a class="el" href="a00198.html" title="Mapping that represents a Pathloss-function.">SimplePathlossConstMapping</a> is subclassed from <a class="el" href="a00194.html" title="Abstract subclass of ConstMapping which can be used as base for any ConstMapping implementation with ...">SimpleConstMapping</a> for convenience. In this simple pathloss implementation, we assume one attenuation value being constant over the signals duration. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Projects/MiXiM/extsrc/mixim/src/modules/analogueModel/<a class="el" href="a00404_source.html">SimplePathlossModel.h</a></li>
<li>D:/Projects/MiXiM/extsrc/mixim/src/modules/analogueModel/SimplePathlossModel.cc</li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00198.html">SimplePathlossConstMapping</a>      </li>

    <li class="footer">Generated on Tue Mar 5 2013 21:26:33 for MiXiM by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
